package com.middlegroup.pay.mapper;

import com.middlegroup.pay.dto.RouterRequest;
import com.middlegroup.pay.dto.RouterResponse;
import com.middlegroup.pay.entity.MerchantSubjectChannelRouter;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 商户主体通道路由表 Mapper 接口
 * </p>
 *
 * @author pc123
 * @since 2019-01-04
 */
public interface MerchantSubjectChannelRouterMapper extends BaseMapper<MerchantSubjectChannelRouter> {

    /**商户路由
     * @param request
     * @return
     */
    List<RouterResponse> router(RouterRequest request);

}
